-- GENERATED SPELL FOR [Mangeclaw] --


function spell0_1961(pUnit, Event) --@Ravage,n/a--
pUnit:FullCastSpellOnTarget(3242,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_1961', 2304, 1)
end

function Sorts_1961(pUnit, Event)
local choix_sorts_1961 = math.random(0, 0)
if choix_sorts_1961 == 0 then
pUnit:RegisterEvent('spell0_1961', 1, 1)
end
end

function mob1961_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_1961', math.random(1500, 3000), 1)
end

function mob1961_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1961_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1961_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(1961, 1, 'mob1961_Action')
RegisterUnitEvent(1961, 2, 'mob1961_Leave')
RegisterUnitEvent(1961, 3, 'mob1961_Kill')
RegisterUnitEvent(1961, 4, 'mob1961_Die')
